package com.wenwu.service;

import java.util.List;

import com.wenwu.common.bean.Function;
import com.wenwu.common.exception.RelicsException;

/**
 * @project ATHome-Manager-Service
 * @class FunctionService.java
 * @author zhujiagui E-mail:<zhujiagui@zkingsoft.com>
 * @date 2015年3月3日 下午4:29:30
 * @description function模块service层
 */
public interface FunctionService {
	List<Function> selectList() throws RelicsException;

	int veriKey(String code) throws RelicsException;

	int addFunction(Function function) throws RelicsException;

	int updateFunction(Function function) throws RelicsException;

	Function selectByKey(Integer functionId) throws RelicsException;

	int deleteFunctionByKey(List<?> list) throws RelicsException;
}
